package com.dome.user.transfer;

import com.dome.user.entity.bo.UserEntity;
import com.dome.user.entity.dto.UserLoginDTO;
import com.dome.user.entity.vo.UserVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface UserTransfer {

    UserTransfer INSTANCE=Mappers.getMapper(UserTransfer.class);

    List<UserVO> toUserListVO(List<UserEntity> userEntities);

    UserLoginDTO toUserLoginDto(UserEntity userEntity);
}
